using System;
using System.Text;
using System.Collections.Generic;


namespace ECC_EXT_Entity {

    public class OFFAnnotationEntitySearch
    {
        public DateTime RecordDateFrom { get; set; }
        public DateTime RecordDateTo { get; set; }

        public String RecordUser { get; set; }
        public String CaseNo { get; set; }
        public String AccountNo { get; set; }
        public DateTime FollowDateFrom { get; set; }
        public DateTime FollowDateTo { get; set; }
        public String FollowUser { get; set; }
        public DICOFFAnnotatonStatusEntity Status { get; set; }
    }

    public class OFFAnnotationEntity {
        public OFFAnnotationEntity()
        {
            MerchandiseEntitys = new List<MerchandiseEntity>();
        }
        public virtual long ID { get; set; }
        public virtual string CaseNo { get; set; }
        public virtual string AccountNo { get; set; }
        public virtual string RecordUser { get; set; }
        public virtual DateTime? RecordDate { get; set; }
        public virtual string FollowUser { get; set; }
        public virtual DateTime? FollowDate { get; set; }

        public virtual IList<MerchandiseEntity> MerchandiseEntitys { get; set; }

        public virtual DICOFFAnnotatonStatusEntity dicOFFAnnotatonStatus { get; set; }

    }

    //public class frm_Ext_OFFAnnotationData
    //{
    //    public frm_Ext_OFFAnnotationData(OFFAnnotationEntity _entity)
    //    {
    //        ID = _entity.ID;
    //        CaseNo = _entity.CaseNo;
    //        AccountNo = _entity.AccountNo;
    //        RecordDate = _entity.RecordDate.Value.ToString("yyyy-MM-dd");
    //        FollowUser = _entity.FollowUser;
    //        FollowDate = _entity.FollowDate;

    //    }

    //    public long ID { get; set; }
    //    public string CaseNo { get; set; }
    //    public string AccountNo { get; set; }
    //    //public string RecordUser { get; set; }
    //    public string RecordDate { get; set; }
    //    public string FollowUser { get; set; }
    //    public DateTime? FollowDate { get; set; }


    //}
}
